<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="/css/public.css" />
		<link rel="stylesheet" href="/css/role/role_list.css" />
		<title>角色管理-角色列表</title>
		<script type="text/javascript" src="/js/jquery.min.js"></script>
		<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="/easyui/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="/easyui/datagrid-filter.js"></script>
	</head>
	
	<body>
		<!-- 角色信息对话框 -->
		<div id="role_dialog" style="display:none;">
			<form id="role_form">
    			<table style="border-spacing:10px;">
	    			<tr>
	    				<td>角色ID</td>
						<td>
							<input id="id" name="id" />
						</td>
						
						<td>角色名</td>
						<td>
							<input id="name" name="name" />
						</td>

						<td>角色等级</td>
						<td>
							<input id="grade" name="grade" />
						</td>
					</tr>

					<tr>
						<td>角色门派</td>
						<td>
							<input id="schoolId" name="schoolId" />
						</td>
						
						<td>角色造型</td>
						<td>
							<input id="categoryId" name="categoryId" />
						</td>

						<td>人物评分</td>
						<td>
							<input id="score" name="score" />
						</td>
					</tr>

					<tr>
						<td>金币数量</td>
						<td>
							<input id="jinbi" name="jinbi" />
						</td>

						<td>所属帮派</td>
						<td colspan="3">
							<input id="gangId" name="gangId" />
						</td>
					</tr>

					<tr>
						<td>服务器</td>

						<td colspan="5">
							<div id="areaId" ></div>

							<input id="serverId" name="serverId" />
						</td>
					</tr>
				</table>

				<table style="border-spacing:5px;">
					<tr>
						<td>所属账号</td>
						<td>
							<input id="accountId" name="accountId" />
						</td>
						
						<td>建号日期</td>
						<td>
							<input id="birthday" name="birthday" />
						</td>
					</tr>
				</table>
    		</form>
		</div>

		<!-- 角色加点对话框 -->
		<div id="jiadian_dialog" style="display:none;">
			<form id="jiadian_form">
				<input type="hidden" id="roleId" name="roleId" />

				<!-- easyui-layout -->
				<div class="easyui-layout" style="width:560px;height:376px;">
					<!-- easyui-layout:west -->
					<div data-options="region:'west',split:false" style="width:220px;">
						<div class="center" style="margin:5px;">
							<input id="jiadian_schema" name="jiadianSchema" />

							<a id="edit"></a>
						</div>

						<table style="border-spacing:10px;">
							<tr>
								<td>气&emsp;&emsp;血</td>
								<td><input id="qx" name="qixue" /></td>
							</tr>

							<tr>
								<td>魔&emsp;&emsp;法</td>
								<td><input id="mf" name="mofa" /></td>
							</tr>

							<tr>
								<td>物理伤害</td>
								<td><input id="wlsh" name="wlsh" /></td>
							</tr>

							<tr>
								<td>法术伤害</td>
								<td><input id="fssh" name="fssh" /></td>
							</tr>

							<tr>
								<td>物理防御</td>
								<td><input id="wlfy" name="wlfy" /></td>
							</tr>

							<tr>
								<td>法术防御</td>
								<td><input id="fsfy" name="fsfy" /></td>
							</tr>

							<tr>
								<td>速&emsp;&emsp;度</td>
								<td><input id="sd" name="sudu" /></td>
							</tr>
						</table>

						<div class="center" >
							<a id="opened"></a>
						</div>
					</div>

					<!-- easyui-layout:center -->
					<div data-options="region:'center',split:false">
						<div style="margin:10px;">
							<div style="margin-left:20px;margin-top:5px;float:left;line-height:20px;">
								剩余潜力 <span id="rest">0</span>
							</div>

							<div style="float:right;">
								<a id="increment">增加属性</a>
								<a id="recommend">推荐加点</a>
								<a id="simulate">属性模拟</a>
							</div>
						</div>

						<table style="border-spacing:20px;">
							<tr>
								<td>体质 </td>
								<td><input id="tz" name="tizhi" /></td>
							</tr>

							<tr>
								<td>魔力 </td>
								<td><input id="ml" name="moli" /></td>
							</tr>

							<tr>
								<td>力量 </td>
								<td><input id="ll" name="liliang" /></td>
							</tr>

							<tr>
								<td>耐力 </td>
								<td><input id="nl" name="naili" /></td>
							</tr>

							<tr>
								<td>敏捷 </td>
								<td><input id="mj" name="minjie" /></td>
							</tr>
						</table>

						<span style="position:absolute;left:20px;">
							<a id="wash"></a>
						</span>

						<span style="float:right;">
							<a id="save"></a>
						</span>
					</div>
				</div>
			</form>
		</div>

		<!-- 角色详情对话框 -->
		<div id="role_detail" style="display:none;">
			<!-- easyui-layout -->
			<div class="easyui-layout" style="width:576px;height:345px;">
				<!-- easyui-layout:west -->
				<div data-options="region:'west',split:false" style="width:288px;">
					<table style="border-spacing:10px 0;">
						<tr>
							<td rowspan=2>
								<div class="role_modeling">
									<img id="role_modeling" />
								</div>
							</td>

							<td>
								<img id="role_school" />
							</td>

							<td>
								<span id="role_name"></span>
							</td>

							<td>
								<span id="role_grade"></span>级
							</td>
						</tr>

						<tr>
							<td></td>
							<td colspan="2">
								ID&ensp;<span id="role_id"></span>
							</td>
						</tr>
					</table>

					<div class="pic">
						<img id="role_picture" />
					</div>

					<table>
						<tr>
							<td>称谓</td>

							<td>
								<div class="chengwei_box">
									<div id="role_chengwei"></div>
								</div>
							</td>

							<td><a id="change"></a></td>
						</tr>
					</table>
				</div>

				<!-- easyui-layout:center -->
				<div data-options="region:'center',split:false">
					<table style="border-spacing:5px;">
						<tr>
							<td>气&emsp;血</td>
							<td colspan=2><div id="role_qixue"></div></td>
						</tr>

						<tr>
							<td>魔&emsp;法</td>
							<td colspan=2><div id="role_mofa"></div></td>
						</tr>

						<tr>
							<td>愤&emsp;怒</td>
							<td colspan=2><div id="role_fennu"></div></td>
						</tr>

						<tr>
							<td>活&emsp;力</td>
							<td><div class="blue" id="role_huoli"></div></td>
							<td><button id="use">使用</button></td>
						</tr>
					</table>

					<div style="width:280px;height:155px;">
						<div id="menu">
							<div title="&emsp;&emsp;基&emsp;础&emsp;&emsp;">
								<div class="property_box">
									<div class="property_panel">
										<table style="border-spacing:10px;">
											<tr>
												<td>物理伤害</td>
												<td><span id="role_wlsh"></span></td>

												<td>&emsp;物理防御</td>
												<td><span id="role_wlfy"></span></td>
											</tr>

											<tr>
												<td>法术伤害</td>
												<td><span id="role_fssh"></span></td>

												<td>&emsp;法术防御</td>
												<td><span id="role_fsfy"></span></td>
											</tr>

											<tr>
												<td>速&emsp;&emsp;度</td>
												<td><span id="role_sudu"></span></td>

												<td>&emsp;治疗强度</td>
												<td><span id="role_zlqd"></span></td>
											</tr>
										</table>
									</div>
								</div>
							</div>

							<div title="&emsp;&emsp;高&emsp;级&emsp;&emsp;">
								<div class="property_box">
									<div class="property_panel">
										<table style="border-spacing:10px 5px;">
											<tr>
												<td>物理暴击</td>
												<td><span id="role_wlbj"></span>%</td>

												<td>物理抗暴</td>
												<td><span id="role_wlkb"></span>%</td>
											</tr>

											<tr>
												<td>法术暴击</td>
												<td><span id="role_fsbj"></span>%</td>

												<td>法术抗暴</td>
												<td><span id="role_fskb"></span>%</td>
											</tr>

											<tr>
												<td>忽视物防</td>
												<td><span id="role_hswf"></span>%</td>

												<td>忽视法防</td>
												<td><span id="role_hsff"></span>%</td>
											</tr>

											<tr>
												<td>封印命中</td>
												<td><span id="role_fymz"></span></td>

												<td>抵抗封印</td>
												<td><span id="role_dkfy"></span></td>
											</tr>

											<tr>
												<td>物暴伤害</td>
												<td><span id="role_wbsh"></span></td>

												<td>法暴伤害</td>
												<td><span id="role_fbsh"></span></td>
											</tr>

											<tr>
												<td>物理抵抗</td>
												<td><span id="role_wldk"></span></td>

												<td>法术抵抗</td>
												<td><span id="role_fsdk"></span></td>
											</tr>

											<tr>
												<td>法术连击</td>
												<td><span id="role_fslj"></span>%</td>

												<td>回复强度</td>
												<td><span id="role_hfqd"></span></td>
											</tr>
										</table>
									</div>
								</div>
							</div>
						</div>
					</div>

					<table style="margin-left:5px;">
						<tr>
							<td>
								<button>经验</button>
							</td>

							<td>
								<div id="role_exp"></div>
							</td>

							<td>
								<a id="tips"></a>
							</td>
						</tr>

						<tr>
							<td colspan=2>
								当前盈福经验&ensp;<span id="role_yfjy" class="green"><!--18009--></span>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>

		<!-- 经验对话框 -->
		<div id="about" style="display:none;">
			<div class="green">盈福经验</div>
			<span class="white">1、在未完成的日常活动、日常任务所错过的经验，会按照一定的比例转换为盈福经验。</span>
			<br />
			<span class="white">2、在完成一些日常活动时，盈福经验转换为人物经验。</span>
			<br />
			<span class="white">3、最多保留3000000的盈福经验，达到上限后则不能继续获得盈福经验。</span>

			<div class="green">停等级</div>
			<span class="white">1、达到69级、89级两个等级段时，不会自动升级。</span>
			<br />
			<span class="white">
				2、69级、89级玩家可以在本门派<span class="yellow">首席弟子</span>处领取突破等级任务，完成突破等级任务后，立即升级。
			</span>

			<div class="green">服务器等级限制</div>
			<span class="white">等级高于服务器等级时，部分日常玩法获得的经验下降（晚间活动、剧情、前尘旧梦等玩法不受影响）。</span>
			<br />
			<span class="white">当前服务器等级：<span class="yellow">115，116级尚未开放，敬请期待。</span></span>
		</div>

		<!-- 称谓对话框 -->
		<div id="chengwei_dialog" style="display:none;">
			<!-- easyui-layout -->
			<div class="easyui-layout" style="width:490px;height:350px;">
				<!-- easyui-layout:west -->
				<div data-options="region:'west',split:false" style="width:210px;">
					<div id="chengwei_list"></div>

					<table>
						<tr>
							<td rowspan=2>
								称谓锁定<br /><div id="switch"></div>
							</td>
						</tr>

						<tr>
							<td rowspan=2>开启后，获得新称谓时，将不会自动使用。</td>
						</tr>
					</table>
				</div>

				<div data-options="region:'center',split:false">
					<div class="image">
						<img id="role_image" />
					</div>

					<div class="easyui-panel" style="width:278px;height:120px;">
						称谓信息:<br />
						<span id="note"><!--恭喜少侠和心上人修成正果，祝福两位的姻缘生活美满如意。--></span>

						<br />

						称谓获得方式：<br />
						<span id="get"><!--一对情侣结为情缘--></span>

						<br />

						<div id="deadline">
							装饰过期时间：<span id="end_time"><!--2022-2-28--></span>
						</div>
					</div>

					<div class="center" style="margin-top:10px;">
						<a id="confirm">确认</a>
					</div>
				</div>
			</div>
		</div>

		<div id="import_dialog" style="display:none;">
			<form id="import_form">
				<table style="border-spacing:5px;">
					<tr>
						<td>上传文件：</td>
						<td><div id="select_file"></div></td>
					</tr>

					<tr>
						<td>文件名称：</td>
						<td><div id="file-name"></div></td>
					</tr>

					<tr>
						<td>文件大小：</td>
						<td><div id="file-size"></div></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="config_dialog" style="display:none;">
			<div class="easyui-layout" style="width:750px;height:410px;">
				<div data-options="region:'west',split:false" style="width:320px;">
					<table style="border-spacing:30px 10px;">
						<caption>角色属性</caption>

						<tbody>
							<tr>
								<td>气&emsp;&emsp;血
									<span id="config_qx">4544</span>
								</td>

								<td>治疗强度
									<span id="config_zlqd">190</span>
								</td>
							</tr>

							<tr>
								<td>魔&emsp;&emsp;法
									<span id="config_mf">2135</span>
								</td>

								<td>抵抗封印
									<span id="config_dkfy">1380</span>
								</td>
							</tr>

							<tr>
								<td>物理伤害
									<span id="config_wlsh">1991</span>
								</td>

								<td>封印命中
									<span id="config_fymz">0</span>
								</td>
							</tr>

							<tr>
								<td>法术伤害
									<span id="config_fssh">458</span>
								</td>

								<td>愤&emsp;&emsp;怒
									<span id="config_fennu">70</span>
								</td>
							</tr>

							<tr>
								<td>物理防御
									<span id="config_wlfy">838</span>
								</td>

								<td>速&emsp;&emsp;度
									<span id="config_sd">752</span>
								</td>
							</tr>

							<tr>
								<td>法术防御
									<span id="config_fsfy">948</span>
								</td>

								<td class="green">临时体质
									<span id="config_lstz"></span>
								</td>
							</tr>

							<tr>
								<td class="green">临时力量
									<span id="config_lsll"></span>
								</td>

								<td class="green">临时魔力
									<span id="config_lsml"></span>
								</td>
							</tr>

							<tr>
								<td class="green">临时敏捷
									<span id="config_lsmj"></span>
								</td>
							</tr>
						</tbody>
					</table>

					<input type="hidden" class="splitter" />

					<table style="border-spacing:5px;">
						<tr>
							<td><button type="button" class="help"></button></td>
							<td>
								<span class="green">绿色</span>部分表示临时符<br/>
								增加数值，<span class="red">红色</span>表示<br/>
								临时符剩余不足1小时
							</td>

							<td><button type="button">一键打符</button></td>
						</tr>
					</table>
				</div>

				<div data-options="region:'center',split:false">
					<div style="padding: 10px;">
						<form id="config_form">
							<input type="hidden" id="config_role_id" name="roleId" />

							角色配置：<input id="config_schema" name="configId" />
							<button type="button" id="save_config"></button>

							<table style="border-spacing:5px;">
								<tr>
									<td rowspan="2">
										<table style="border-spacing:5px;">
											<tr>
												<td>
													<a id="chage_equipment">切换</a>
												</td>

												<td>
													<img id="config_tk" title="头" />
												</td>

												<td>
													<img id="config_xl" title="项链" />
												</td>

												<td>
													<img id="config_wq" title="武器" />
												</td>
											</tr>

											<tr>
												<td>
													<a id="edit_equipment">编辑</a>
												</td>

												<td>
													<img id="config_yj" title="衣甲" />
												</td>

												<td>
													<img id="config_yd" title="腰带" />
												</td>

												<td>
													<img id="config_xz" title="鞋子" />
												</td>
											</tr>
										</table>
									</td>

									<td>
										<table>
											<tr>
												<td rowspan="2">
													<img id="config_qiling_taozhuang_image" src="/qiling_taozhuang/7003.png" />
												</td>

												<td>
													<span id="config_active_qiling_taozhuang">风起雷涌</span>
												</td>
											</tr>

											<tr>
												<td>
													四件（<span id="config_active_count">4</span>/<span id="config_count">4</span>）
												</td>
											</tr>
										</table>
									</td>
								</tr>

								<tr>
									<td>
										<table>
											<tr>
												<td rowspan="2">
													<img id="config_xingyin_skill_image" src="/xingyin_skill/4001.png" />
												</td>

												<td>
													<span id="config_active_xingyin_skill">平衡之力</span>
												</td>
											</tr>

											<tr>
												<td>
													<span id="config_active_xingyin_taozhuang">无套装</span>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>

							<table style="border-spacing:5px;" border="1px black solid;">
								<tr>
									<td>
										加点&emsp;&emsp;<input id="config_jiadian" name="jiadianId" />
										<button type="button" id="jiadian_edit"></button>
									</td>

									<td>
										变身&emsp;<input id="change_body" />
										<button type="button" id="body_edit"></button>
									</td>
								</tr>

								<tr>
									<td>
										潜能果&emsp;<input id="potency_fruit" name="potencyId" />
										<button type="button" id="fruit_edit"></button>
									</td>

									<td>
										经脉&emsp;<input id="config_jingmai" name="jingmaiId" />
										<button type="button" id="jingmai_edit"></button>
									</td>
								</tr>
							</table>

							<table style="border-spacing:5px;">
								<tr>
									<td>法宝</td>
									<td><img id="fabao_1" /></td>
									<td><img id="fabao_2" /></td>
									<td><img id="fabao_3" /></td>
									<td><img id="fabao_4" /></td>
									<td><img id="fabao_5" /></td>
									<td><img id="fabao_6" /></td>

									<td><button type="button" id="fabao_edit"></button></td>
								</tr>
							</table>

							<table style="border-spacing:5px;" border="1px black solid;">
								<thead>其他配置</thead>

								<tbody>
									<tr>
										<td>
											召唤灵<img id="config_chongwu" />
											<input id="chongwu_name" name="chongwuId" />
											<button type="button" id="chongwu_edit"></button>
										</td>

										<td rowspan="2">
											百草箱<br /><br />
											未拥有，<span class="green">[前往获得]</span>
										</td>
									</tr>

									<tr>
										<td>
											<div class="center">子女暂未开放</div>
										</td>
									</tr>
								</tbody>
							</table>
						</form>
					</div>
				</div>
			</div>
		</div>

		<table id="role_list"></table>

		<script type="text/javascript" src="/js/public.js"></script>
		<script type="text/javascript" src="/js/ajaxUtils.js"></script>
		<script type="text/javascript" src="/js/columnMenu.js"></script>
		<script type="text/javascript" src="/js/role/role_list.js"></script>
	</body>
</html>